package com.hz.service;

import com.hz.mbg.entity.TbBanner;

import java.util.List;

public interface BannerService {
    int add(TbBanner banner);

    int update(Integer bannerid, TbBanner banner);

    int delete(Integer bannerid);

    List<TbBanner> listBybannerposition();

    List<TbBanner> list(int pageNum, int pageSize);

    TbBanner get(Integer bannerid);
}
